﻿
namespace Gamemaster.Console
{
    public class IndexCommand : Command
    {
        public IndexCommand(params string[] args) : base(args)
        {
            Help = true;
        }

        public override void PrintHelp()
        {
            base.PrintHelp();

            Out.WriteLine("Command Index/Guide");
            Out.WriteLine();
            Out.WriteLine("Roll: dice roller");
            Out.WriteLine("Name: random name generator");
            Out.WriteLine("Index: view this guide");
            Out.WriteLine();
            Out.WriteLine("Type 'help' after any of the commands to get further instructions.");
        }

        protected override void Validate()
        {
            
        }
        protected override void RunCommand()
        {
            PrintHelp();
        }
        protected override void HandleParameter(Parameter parameter)
        {
            parameter.Handled = true;
        }
    }
}
